import {Log} from "@/data/entity/Log";

export class LogList {
    data:Log[] = []
    static parse(object:any):LogList{
        if (typeof object != 'object' || !object){
            object = {}
        }
        for (let index in object.data){
            object.data[index] = Log.parse(object.data[index])
        }
        return {...new LogList(), ...object}
    }
}